build: Reintroduce warning flags from autotools
authorBenjamin Otte <otte@redhat.com>
Tue, 22 Jan 2019 03:30:47 +0000 (04:30 +0100)
committerBenjamin Otte <otte@redhat.com>
Tue, 22 Jan 2019 03:33:12 +0000 (04:33 +0100)
commit359bc7695cb31a3b6b91626dd4f0d4082b4154d7
tree5fedf4e4900dc870993d1290e176946822175c2e
parent7723749e00b14d62609942937ae0b8344665beaa
build: Reintroduce warning flags from autotools

Some of the flags got lost in the meson transition or were demoted from
error flags to warning flags.
This commit reintroduces them.

It also includes fixes for the code that had warnings with those flags.
The big one being -Wshadow.
12 files changed:
gdk/gdkgltexture.c
gdk/gdkvulkancontext.c
gdk/wayland/gdkdisplay-wayland.c
gdk/x11/gdkclipboard-x11.c
gdk/x11/gdkdrop-x11.c
gdk/x11/gdkscreen-x11.c
gdk/x11/gdkselectionoutputstream-x11.c
gsk/gl/gskglrenderer.c
gsk/vulkan/gskvulkanrenderpass.c
gtk/gtkentry.c
gtk/gtkspinbutton.c
meson.build